<%--
    Document   : actualizaCitas
    Created on : 3/06/2009, 07:05:05 PM
    Author     : ADMINISTRADOR
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="r" uri="http://richfaces.ajax4jsf.org/rich" %>

<script language="javascript" src="../js/funciones.js"></script>
<link href="/colegiatura/Estilos/estilosEsymons.css" rel="stylesheet" type="text/css" />

<f:view>
<h:form id="frmActCita">
<table  width="100%" border="0" cellpadding="1" cellspacing="1">
  <tr>
      <td height="27" colspan="5" align="left" bgcolor="#990000">
        <h:outputText value="Programación de Citas" styleClass="texto3" /></td>
  </tr>
  <tr><td colspan="5" height="30"></td></tr>
  <tr><td colspan="5">
  <fieldset>
      <legend>Actualizar Cita</legend>
      <table width="100%" border="0">
      <tr>
    <td width="100"></td>
    <td width="140"><h:outputLabel value="Fecha :" styleClass="texto20" /></td>
    <td width="763" height="25" colspan="3" align="left">
        <r:calendar value="#{citaController.cita.citFecha}" inputClass="cajaCentrada"
                    datePattern="dd/MM/yyyy" cellWidth="15" styleClass="cajaCentrada"/></td>
     </tr>
     <tr>
    <td width="100"></td>
    <td width="140"><h:outputLabel value="Hora :" styleClass="texto20" /></td>
    <td height="25" colspan="3" align="left">
        <h:selectOneMenu value="#{citaController.cita.cithoraInicio}" styleClass="fondo012">
                <f:selectItem itemLabel="----Hora----" />
                <f:selectItem itemValue="10:00" itemLabel="10:00am"/>
                <f:selectItem itemValue="11:00" itemLabel="11:00am"/>
                <f:selectItem itemValue="12:00" itemLabel="12:00m"/>
                <f:selectItem itemLabel="------"/>
                <f:selectItem itemValue="17:00" itemLabel="05:00pm"/>
                <f:selectItem itemValue="18:00" itemLabel="06:00pm"/>
                <f:selectItem itemValue="19:00" itemLabel="07:00pm"/>
            </h:selectOneMenu>
        </td>
  </tr>
  <tr>
    <td width="100"></td>
    <td width="140"><h:outputLabel value="Estado :" styleClass="texto20" /></td>
    <td height="25" colspan="3" align="left">
        <h:selectOneMenu value="#{citaController.cita.estado}" styleClass="fondo012">
                <f:selectItem itemLabel="-------Estado-------" />
                <f:selectItems value="#{estadoCitaController.selectListaItemEstados}" />
        </h:selectOneMenu>
        </td>
  </tr>
  <tr>
    <td width="100"></td>
    <td width="140"><h:outputLabel value="Programación :" styleClass="texto20" /></td>
    <td height="25" colspan="3" align="left">
        <h:selectOneMenu value="#{citaController.cita.citcodigoProg}" styleClass="fondo012">
                <f:selectItem itemLabel="----Tipo Programación----" />
                <f:selectItem itemLabel="Programada" itemValue="1"  />
                <f:selectItem itemLabel="ReProgramada" itemValue="0"  />
            </h:selectOneMenu>
        </td>
  </tr>
  <tr><td colspan="5" height="35" align="center">
   <h:commandButton action="#{citaController.editar}" value="Actualizar" styleClass="enlace9"/>
   <h:outputLabel value=" " />
   <h:commandButton action="ir_a_listar" value="Cancelar" styleClass="enlace9"/></td>
 </tr>
   </table>
  </fieldset>
      </td>
  </tr>
</table>
</h:form>
</f:view>